import request from '@/utils/request'

export function ptzStart(data) {
  return request({
    url: '/api/ys7/ptzStart',
    method: 'post',
    data
  })
}

export function ptzStop(data) {
  return request({
    url: '/api/ys7/ptzStop',
    method: 'post',
    data
  })
}

export function capture(data) {
  return request({
    url: '/api/ys7/capture',
    method: 'post',
    data
  })
}

export function deviceInfo(data) {
  return request({
    url: '/api/ys7/deviceInfo',
    method: 'post',
    data
  })
}

export function liveAddress(data) {
  return request({
    url: '/api/ys7/liveAddress',
    method: 'post',
    data
  })
}

export function alarm(data) {
  return request({
    url: '/api/ys7/alarm',
    method: 'post',
    data
  })
}

export function ptzMirror(data) {
  return request({
    url: '/api/ys7/ptzMirror',
    method: 'post',
    data
  })
}
